home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 May / EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso / earcd / misc / emu / arosdev.lha / AROS / rom / devs / console_gcc.h < prev    next >
C/C++ Source or Header  |  1997-01-09  |  682b  |  36 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: console_gcc.h,v 1.1 1996/08/23 17:32:23 digulla Exp $
  4.     $Log: console_gcc.h,v $
  5.     Revision 1.1  1996/08/23 17:32:23  digulla
  6.     Implementation of the console.device
  7.  
  8.  
  9.     Desc:
  10.     Lang:
  11. */
  12. #ifndef CONSOLE_GCC_H
  13. #define CONSOLE_GCC_H
  14. #include <aros/libcall.h>
  15. #include <exec/execbase.h>
  16. #include <exec/devices.h>
  17. #include <dos/dos.h>
  18.  
  19. struct consolebase
  20. {
  21.     struct Device device;
  22.     struct ExecBase * sysBase;
  23.     BPTR seglist;
  24. };
  25.  
  26. #define expunge() \
  27. __AROS_LC0(BPTR, expunge, struct emulbase *, emulbase, 3, emul_handler)
  28.  
  29. #ifdef SysBase
  30.     #undef SysBase
  31. #endif
  32. #define SysBase ConsoleDevice->sysBase
  33.  
  34. #endif
  35.  
  36.